#include "ListNode.h"


ListNode::ListNode(ExtentIO* data) : _data(data), _next(0), _prev(0)
{
}


ListNode::~ListNode(void)
{
	//delete _data;
}
void ListNode::setData(ExtentIO* eio)
{
	delete _data; // TODO: check if need to delete here...
	_data = eio;
}
ExtentIO* ListNode::getData() const
{
	return _data;
}